<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <RootNamespace>System.Diagnostics.Tests</RootNamespace>
    <TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-unix</TargetFrameworks>
    <TestRuntime>true</TestRuntime>
    <!-- Some tests need types like System.Diagnostics.DebugProvider which are only exposed from System.Private.CoreLib -->
    <CompileUsingReferenceAssemblies>false</CompileUsingReferenceAssemblies>
    <!-- Active issue: https://github.com/dotnet/runtime/issues/87740 -->
    <ShouldILStrip>false</ShouldILStrip>
  </PropertyGroup>
  <ItemGroup>
    <DefaultReferenceExclusion Include="System.Collections" />
    <ProjectReference Include="$(CoreLibProject)" />
    <ProjectReference Include="$(LibrariesProjectRoot)System.Runtime\src\System.Runtime.csproj" />
    <ProjectReference Include="$(LibrariesProjectRoot)System.Collections\src\System.Collections.csproj" />
    <ProjectReference Include="$(LibrariesProjectRoot)System.Threading\src\System.Threading.csproj" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="DebugTests.cs" />
    <Compile Include="DebugTestsNoListeners.Interpolation.cs" />
    <Compile Include="DebugTestsNoListeners.cs" />
    <Compile Include="DebugTestsUsingListeners.cs" />
    <Compile Include="DebuggerBrowsableAttributeTests.cs" />
    <Compile Include="DebuggerDisplayAttributeTests.cs" />
    <Compile Include="DebuggerTests.cs" />
    <Compile Include="DebuggerTypeProxyAttributeTests.cs" />
    <Compile Include="DebuggerVisualizerAttributeTests.cs" />
    <Compile Include="EmptyAttributeTests.cs" />
    <Compile Include="XunitAssemblyAttributes.cs" />
  </ItemGroup>
</Project>